<?php
class indexControl extends Control{
    function index(){
        header("Content-type:text/html;charset=utf-8");
        $this->display();
    }
    function top(){
    	$uname=$this->session_get('uname');
    	$this->assign('uname',$uname);
    	$this->display();
    }
    function left(){
    	$this->display();
    }
    function logoout(){
        $this->session_destroy();
        echo "<script>top.location.href='http://localhost/company1/index.php/admin/common/index'</script>";
    }
}